/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ordenacao;
import javax.swing.JOptionPane;

public class BubbleSort {
   
    public static void Bubblesort(Object []celula, int tamanho) {

        Object aux[] = null, temporario[] = null;

        for (int i = 0; i < tamanho; i++) {
            for (int j = 0; j < tamanho; j++) {
                if (celula[i].toString().charAt(j) > celula[i+1].toString().charAt(j)) {
                    aux[i] = temporario[i+1];
                    temporario[i+1] = temporario[i];
                    temporario[i] = aux[i];
                System.out.println("VALOR"+temporario[i]);
                }
            }
        }
    }}

